from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
import time


driver = webdriver.Chrome(service=Service('chromedriver.exe'))
driver.maximize_window()
driver.get("https://demoqa.com/droppable")
time.sleep(20)
source_element = driver.find_element(By.ID, "draggable")
target_element = driver.find_element(By.ID, "droppable")
ActionChains(driver).drag_and_drop(source_element, target_element).perform()
time.sleep(20)

